package com.example.demospringboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author dyd
 * @date 2021/1/22
 */
@Controller
public class UserContorller {
    @GetMapping
    @ResponseBody
    public String Hello(){
        String s = "少年踏雪寻梅子，老大落叶思故里。人生太多苦乐事，万般皆拋惜自己。";
        return s;
    }

}


